package com.example.springbootexamples.service.impl;

import com.example.springbootexamples.dao.TTestTableDao;
import com.example.springbootexamples.domain.TTestTable;
import com.example.springbootexamples.service.TTestTableService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TTestTableServiceImpl implements TTestTableService {

    private Logger logger= LoggerFactory.getLogger(this.getClass());

    @Autowired
    private TTestTableDao tTestTableDao;

    @Override
    public TTestTable selectById(Integer id12) {
        return tTestTableDao.selectById(id12);
    }

    @Override
    public List<TTestTable> selectList(TTestTable tTestTable) {
        return tTestTableDao.selectList(tTestTable);
    }

    @Override
    public int insert(TTestTable tTestTable) {
        return tTestTableDao.insert(tTestTable);
    }

    @Override
    public int insertList(List<TTestTable> list) {
        return tTestTableDao.insertList(list);
    }

    @Override
    public int update(TTestTable tTestTable) {
        return tTestTableDao.update(tTestTable);
    }

    @Override
    public int deleteById(Integer id12) {
        return tTestTableDao.deleteById(id12);
    }

    @Override
    public int deleteByIds(String[] ids) {
        return tTestTableDao.deleteByIds(ids);
    }
}
